<?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "sys_fund".
 *
 * @property int $id
 * @property string $sys_sum 系统资金总和
 * @property int $addtime 添加时间
 */
class SysFund extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'sys_fund';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['sys_sum', 'addtime'], 'required'],
            [['sys_sum'], 'number'],
            [['addtime'], 'integer'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'sys_sum' => '系统资金总和',
            'addtime' => '添加时间',
        ];
    }
}
